<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>我的用户中心</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/main.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/theme/css/style_userCenter.css">
	
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery-1.6.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/jquery.validate.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/theme/js/additional-methods.js" charset="utf-8"></script>
  
  
	<script type="text/javascript">
  		$(document).ready(function() {
  			$("#editUserContactForm").validate({
  			rules : {
  				"userDetail.telephone":
  				{
  					phone: true
  				},
  				"userDetail.qq":
  				{
  					number: true
  				}
  			},
  			
  			messages : {
  				"userDetail.telephone":
  				{
  					phone: "请输入正确的电话号码格式"
  				},
  				"userDetail.qq":
  				{
  					number: "请输入合法的数字"
  				}
  			}
  			})
  		});
  	</script>
  </head>
  <body>
	<div>
		<jsp:include page="../nav.jsp">
			<jsp:param value="nav_account" name="nav"/>
		</jsp:include>
	</div>
	<div class="realCer">
	
	<!--主体部分-->
	<div class="realMain clearfix mt10">
	 <!--左侧菜单-->
	<div class="realLeft" id="meunLeft">
	    <jsp:include page="../leftMenu.jsp">
	    	<jsp:param value="con_nav_account" name="con_nav"/>
	    	<jsp:param value="userContactManagement" name="selectMenu"/>
	    </jsp:include>
    </div>
    <!--中由-->
	<div class="realRight ml10">
		<!--中间-->
		<div class="realR_left">
			<div class="box">
			<div class="tit">修改基本信息</div>
			<div class="con">
				<div class="form_wrap clearfix">
			<div style="color: red; margin-left: 100px;">
				<s:property value="resultMsg" />
				<s:fielderror></s:fielderror>
			</div>
			<s:url var="editUserContactUrl" action="editUserContact.action" namespace="/userAdmin"></s:url>
			<form method="post" id="editUserContactForm" name="editUserContactForm"
				action="<s:property value="#editUserContactUrl"/>">
				<table class="tableForm">
					<tbody>
						<tr>
							<td class="tdLabel" width="100">
								电子邮箱:
							</td>
							<td class="tdValue">
								<input class="text" name="" type="text" value="<s:property value="loginUser.email"/>" disabled="disabled"/>
							</td>
						</tr>
						<tr>
							<td class="tdLabel">
								手机号码:
							</td>
							<td class="tdValue">
								<input class="text" type="text" value="<s:property value="userDetail.mobilePhone"/>" disabled="disabled"/>
							</td>
						</tr>

						<tr>
							<td class="tdLabel">
								座机号码:
							</td>
							<td class="tdValue">
								<input class="text" value="<s:property value="userDetail.telephone"/>"
						 			type="text" name="userDetail.telephone" id="userDetail.telephone"/>
						 		<label class="show">形如：010-63866338</label>
							</td>
						</tr>
						<tr>
							<td class="tdLabel">
								qq 号码:
							</td>
							<td class="tdValue">
								<input type="text" value="<s:property value="userDetail.qq"/>"
									maxlength="20" name="userDetail.qq" id="userDetail.qq" class="text" />
							</td>
						</tr>
						<tr>
							<td></td>
							<td class="tdValue">
								<input id="button_submit" type="submit" class="default_btn"
									value="保存">
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
			</div>
			</div>
		</div>
		<!-- 中间 -->
		<!--右侧-->
		<div class="realR_right">	
				
			<div class="box mb10">
				<div class="tit">雇主说</div>
				<div class="con">			
				  44444444444444
				</div>
			</div>
			
		</div>
		<!--右侧-->
	</div>
	<!--中由-->
</div>
</div>
	<div>
		<jsp:include page="/footer.jsp"></jsp:include>
	</div>
    </body>
</html>